from script.get_user_info.response.luogu_response import luogu_json
import json
def lg_rating(uid):
    response = luogu_json(uid)
    response = json.loads(response)
    return response["records"]["result"][0]["rating"]

if __name__ == '__main__':
    print(lg_rating(1585789))

